package com.shakev.coupon.web.controller;

import com.shakev.coupon.web.model.VersionFileVo;
import com.shakev.coupon.web.model.base.RestResponse;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName UserController
 * @Description TODO
 * @Author 李伟松
 * @CreateDate 2019-05-09 下午 11:44
 * @UpdateDate 2019-05-09 下午 11:44
 * @Version 1.0
 */
@RestController
public class UserController {

    @RequestMapping("login")
    public RestResponse login(){
        //把老的移植过来
        return  RestResponse.success();
    }

    //版本升级
    @RequestMapping("upgrade")
    public RestResponse upgrade(){

        VersionFileVo version  = new VersionFileVo();
        //把老的移植过来
        return  RestResponse.success(version);
    }
}
